﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MySQLite.Models
{
    public class FileCondition
    {
        private int _fileType;
        public int FileType
        {
            get { return _fileType; }
            set { _fileType = value; }
        }

        private string _fileName = string.Empty;
        public string FileName
        {
            get { return _fileName; }
            set { _fileName = value; }
        }

        private string _deviceNo = string.Empty;
        public string DeviceNo
        {
            get { return _deviceNo; }
            set { _deviceNo = value; }
        }

        private string _depNo = string.Empty;
        public string DepNo
        {
            get { return _depNo; }
            set { _depNo = value; }
        }

        private string _userNo = string.Empty;
        public string UserNo
        {
            get { return _userNo; }
            set { _userNo = value; }
        }

        private int? _isImportant;
        public int? IsImportant
        {
            get { return _isImportant; }
            set { _isImportant = value; }
        }

        private string _startTime = string.Empty;
        public string StartTime
        {
            get { return _startTime; }
            set { _startTime = value; }
        }

        private string _endTime = string.Empty;
        public string EndTime
        {
            get { return _endTime; }
            set { _endTime = value; }
        }

        public bool IsNotUpload { get; set; }
    }

    public class FileModel
    {
        private string _guid = string.Empty;
        public string Guid
        {
            get { return _guid; }
            set { _guid = value; }
        }

        private string? _fileType = string.Empty;
        public string? FileType
        {
            get { return _fileType; }
            set { _fileType = value; }
        }

        private string _fileName = string.Empty;
        public string FileName
        {
            get { return _fileName; }
            set { _fileName = value; }
        }

        private string _fileHardDisk = string.Empty;
        public string FileHardDisk
        {
            get { return _fileHardDisk; }
            set { _fileHardDisk = value; }
        }

        private string _filePath = string.Empty;
        public string FilePath
        {
            get { return _filePath; }
            set { _filePath = value; }
        }

        private string _fileLength = string.Empty;
        public string FileLength
        {
            get { return _fileLength; }
            set { _fileLength = value; }
        }

        private string _fileTimeSpan = string.Empty;
        public string FileTimeSpan
        {
            get { return _fileTimeSpan; }
            set { _fileTimeSpan = value; }
        }

        private string _fileTime = string.Empty;
        public string FileTime
        {
            get { return _fileTime; }
            set { _fileTime = value; }
        }

        private string _collectTime = string.Empty;
        public string CollectTime
        {
            get { return _collectTime; }
            set { _collectTime = value; }
        }

        private string _thumbnailFilePath = string.Empty;
        public string ThumbnailFilePath
        {
            get { return _thumbnailFilePath; }
            set { _thumbnailFilePath = value; }
        }

        private string _thumbnailFileTime = string.Empty;
        public string ThumbnailFileTime
        {
            get { return _thumbnailFileTime; }
            set { _thumbnailFileTime = value; }
        }

        private string _convertFilePath = string.Empty;
        public string ConvertFilePath
        {
            get { return _convertFilePath; }
            set { _convertFilePath = value; }
        }

        private string _convertFileTime = string.Empty;
        public string ConvertFileTime
        {
            get { return _convertFileTime; }
            set { _convertFileTime = value; }
        }

        private string _uploadFileTime = string.Empty;
        public string UploadFileTime
        {
            get { return _uploadFileTime; }
            set { _uploadFileTime = value; }
        }

        private string _deviceNo = string.Empty;
        public string DeviceNo
        {
            get { return _deviceNo; }
            set { _deviceNo = value; }
        }

        private string _depNo = string.Empty;
        public string DepNo
        {
            get { return _depNo; }
            set { _depNo = value; }
        }

        private string _depName = string.Empty;
        public string DepName
        {
            get { return _depName; }
            set { _depName = value; }
        }

        private string _userNo = string.Empty;
        public string UserNo
        {
            get { return _userNo; }
            set { _userNo = value; }
        }

        private string _userName = string.Empty;
        public string UserName
        {
            get { return _userName; }
            set { _userName = value; }
        }

        private int _isImportant;
        public int IsImportant
        {
            get { return _isImportant; }
            set { _isImportant = value; }
        }

        private int _isDelete;
        public int IsDelete
        {
            get { return _isDelete; }
            set { _isDelete = value; }
        }

        private string _createTime = string.Empty;
        public string CreateTime
        {
            get { return _createTime; }
            set { _createTime = value; }
        }

        private string _remark = string.Empty;
        public string Remark
        {
            get { return _remark; }
            set { _remark = value; }
        }

    }
}
